package com.rabbiter.fm.dao;

import com.rabbiter.fm.model.ArticleModel;
import com.rabbiter.fm.model.IdleItemModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleDao {
    int insert(ArticleModel record);
    List<ArticleModel> findArticItem(String title, int begin, int nums);
    int countArticleItem(String title);


    ArticleModel selectByPrimaryKey(Long id);
    int deleteByPrimaryKey(Long id);
    int updateDianZan(Long id,Long  dianzan);


}